import request from '@/utils/request'

// 获取货物类型信息列表
export const getGoodsTypeAPI = () => {
  return request({
    url: '/manager/goodsType/simple',
    method: 'get'
  })
}

// 获取货物类型详情
export const getGoodsTypeDetailAPI = (id) => {
  return request({
    url: '/manager/goodsType/' + id,
    method: 'get'
  })
}
